package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.AbandonStudent;
import cn.wolfcode.crm.domain.FormalStudent;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.math.BigDecimal;
import java.util.List;

public interface IFormalStudentService {
    int insert(FormalStudent record);

    int updateByPrimaryKey(FormalStudent record);

    List<FormalStudent> selectAll();
    FormalStudent selectById(Long id);

    PageResult query(QueryObject qo);

    int deleteByPrimaryKey(Long id);

    void transfer(Long targetClassId,Long id);

    List<FormalStudent> selectAllPayed();

    void audit(Long id,BigDecimal amount);


    void bandon(Long formalStudentId, AbandonStudent abandonStudent);
}
